// 统一请求路径前缀在libs/axios.js中修改
import {
    getRequest,
    postRequest,
    postBodyRequest,
    getNoAuthRequest,
    exportPost,
    putRequest,
    getRequestToken, importRequestData
} from '@/libs/axios';
//行业接口
export const companiesPageAPI = params => {
    return postBodyRequest('/companies/page', params);
};
export const companiesAddAPI = params => {
    return postBodyRequest('/companies/add', params);
};
export const companiesUpdateAPI = params => {
    return postBodyRequest('/companies/update', params);
};
//删除/xboot/companies/del/{id}
export const companiesDeleteAPI = params => {
    return getRequest (`/companies/del/${params.id}`, );
}
// 导入
export const exportAll = params => {
    return importRequestData('/companies/import', params);
};
